package com.bsoft.gol.editor.model;

import com.bsoft.gol.editor.fileUpload.AbstractInExcel;
import com.bsoft.gol.editor.fileUpload.ColumnRelation;

/**
 * excel中的机构数据定义
 * @author 王智伟
 *
 */
public class UserInExcel extends AbstractInExcel {
	
	@ColumnRelation(relationField="loginName",colName="登录名(*)",colWidth=256*30)
	private String loginName;//登录名

	@ColumnRelation(relationField="userName",colIndex=1,colName="用户名(*)",colWidth=256*20)
	private String userName;//用户名

	@ColumnRelation(relationField="passWord",colIndex=2,colName="用户密码（为空默认123456）",colWidth=256*15)
	private String passWord;//用户密码

	@ColumnRelation(relationField="orgId",colIndex=3,colName="机构代码",colWidth=256*15)
	private String orgId;//机构代码

	@ColumnRelation(relationField="orgName",colIndex=4,colName="机构名称",colWidth=256*15)
	private String orgName;//机构名称

	@ColumnRelation(relationField="departmentId",colIndex=5,colName="科室代码",colWidth=256*15)
	private String departmentId;//上级机构名称

	@ColumnRelation(relationField="departmentName",colIndex=6,colName="科室名称",colWidth=256*15)
	private String departmentName;//上级机构代码

	@ColumnRelation(relationField="status",colIndex=7,colName="状态(0启用1禁用)(*)",colWidth=256*15)
	private String status;//状态

	@ColumnRelation(relationField="userType",colIndex=8,colName="用户类型(0管理员 1普通用户)(*) ",colWidth=256*15)
	private String userType;//联系电话

	public String getLoginName() {
		return loginName;
	}

	public void setLoginName(String loginName) {
		this.loginName = loginName;
	}

	public String getUserName() {
		return userName;
	}

	public void setUserName(String userName) {
		this.userName = userName;
	}

	public String getPassWord() {
		return passWord;
	}

	public void setPassWord(String passWord) {
		this.passWord = passWord;
	}

	public String getOrgId() {
		return orgId;
	}

	public void setOrgId(String orgId) {
		this.orgId = orgId;
	}

	public String getOrgName() {
		return orgName;
	}

	public void setOrgName(String orgName) {
		this.orgName = orgName;
	}

	public String getDepartmentId() {
		return departmentId;
	}

	public void setDepartmentId(String departmentId) {
		this.departmentId = departmentId;
	}

	public String getDepartmentName() {
		return departmentName;
	}

	public void setDepartmentName(String departmentName) {
		this.departmentName = departmentName;
	}

	public String getStatus() {
		return status;
	}

	public void setStatus(String status) {
		this.status = status;
	}

	public String getUserType() {
		return userType;
	}

	public void setUserType(String userType) {
		this.userType = userType;
	}
}
